finding the GCF